From: Paul Eggert Date: Mon, 7 Feb 2011 05:44:50 +0000 (-0800) Subject: * xfont.c: conform to C89 pointer rules X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4685^2~25 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8316250c4b26a2ec5a919dd32067a65d5ca1fbd6;p=emacs.git * xfont.c: conform to C89 pointer rules --- diff --git a/src/ChangeLog b/src/ChangeLog index 66b57adef2f..9c4007e44c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -26,6 +26,7 @@ * callproc.c (Fcall_process): Likewise. * doprnt.c (doprnt): Likewise. * indent.c (compute_motion): Likewise. + * xfont.c (xfont_decode_coding_xlfd): Likewise. * character.c (strwidth): Make its argument const char *, not const unsigned char *, since more callers prefer it that way. All callers changed. diff --git a/src/xfont.c b/src/xfont.c index 222b4d9edf9..f8aace3663c 100644 --- a/src/xfont.c +++ b/src/xfont.c @@ -182,7 +182,7 @@ xfont_decode_coding_xlfd (char *xlfd, int len, char *output) while (*p0) { c = *(unsigned char *) p0++; - p1 += CHAR_STRING (c, p1); + p1 += CHAR_STRING (c, (unsigned char *) p1); if (--len == 0) break; }